package com.enjoyor.soa.traffic.core.tpcms.mapper.impl;

import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.enjoyor.soa.traffic.core.tpcms.constant.TemplateSqlId;
import com.enjoyor.soa.traffic.core.tpcms.domain.Template;
import com.enjoyor.soa.traffic.core.tpcms.mapper.ITemplateMapper;
import com.enjoyor.soa.traffic.frame.support.mybatis.mapper.impl.BaseMapper;
import com.enjoyor.soa.traffic.util.pojo.Page;

@Service
@Transactional
public class TemplateMapper extends BaseMapper<Template> implements ITemplateMapper {

    @Override
    @SuppressWarnings("rawtypes")
    public Page selectTemplatePage(Page page) {
        return this.selectPageInfo(getSqlName(TemplateSqlId.SQL_SELECT_ALL), page);
    }

}
